/*
 * Created on 2006-5-18 1:04:10
 */
package cn.com.sbell.vss.csg.vsclient.util;

import java.util.regex.Pattern;

/**
 * @author liang.a.chen
 */
public class CSGConfiguration {

	public static Pattern pattern = Pattern.compile("http://\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}:\\d{1,5}/.*");
	public static Pattern patternRoute = Pattern.compile("(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}):(\\d{1,5})/(.*)");
	// public static String AS_ALARM_URI;
	// added vondart
	public static String COMMON_ALARM_REPORT_IPADDRESS = "";
	public static int COMMON_ALARM_DISPATCH_THREAD_NUM;
	public static int COMMON_VIDEO_STATE_DISPATCH_THREAD_NUM;
	public static int COMMON_ALARM_DISPATCH_HOLDTIME;
	// added vondart
	public static String COMMON_HEARTBEAT_REPORT_IPADDRESS = "";
	public static int COMMON_HEARTBEAT_REPORT_PORT;
	// added vondart
	public static int COMMON_HEARTBEAT_REPORT_INTERVAL = 0;
	public static int COMMON_HEARTBEAT_ATTEMP_TIMES;
	public static int COMMON_HEARTBEAT_DELAY;
	// added vondart
	public static int COMMON_HEARTBEAT_LIFE = 0;

	public static int HIKVISION_ALARM_REPORT_PORT;

	public static String CSG_DEFAULT_LOCALE = "en";

	public static int PU_CONNECTION_TIMEOUT;

	public static int PU_SO_LINGER;

	public static int PU_SO_TIMEOUT;

	public static int VS_REGISTER_INTERVAL_MIN;

	public static int MINA_THREADPOOL_MIN;
	public static int MINA_THREADPOOL_MAX;
	public static int MINA_THREADPOOL_WAITQUEUE;
	public static int MINA_THREADPOOL_HOLDTIME;
	public static int MINA_FREEMEM_PERCENT;

	public String getCSG_DEFAULT_LOCALE() {
		return CSG_DEFAULT_LOCALE;
	}

	public void setCSG_DEFAULT_LOCALE(String csg_default_locale) {
		CSG_DEFAULT_LOCALE = csg_default_locale;
	}

	public static void main(String[] args) {
		System.out.println("hello the world!");
	}

	public int getCOMMON_ALARM_DISPATCH_HOLDTIME() {
		return COMMON_ALARM_DISPATCH_HOLDTIME;
	}

	public void setCOMMON_ALARM_DISPATCH_HOLDTIME(int common_alarm_dispatch_holdtime) {
		COMMON_ALARM_DISPATCH_HOLDTIME = common_alarm_dispatch_holdtime;
	}

	public int getCOMMON_ALARM_DISPATCH_THREAD_NUM() {
		return COMMON_ALARM_DISPATCH_THREAD_NUM;
	}

	public void setCOMMON_ALARM_DISPATCH_THREAD_NUM(int common_alarm_dispatch_thread_num) {
		COMMON_ALARM_DISPATCH_THREAD_NUM = common_alarm_dispatch_thread_num;
	}

	public String getCOMMON_ALARM_REPORT_IPADDRESS() {
		return COMMON_ALARM_REPORT_IPADDRESS;
	}

	public void setCOMMON_ALARM_REPORT_IPADDRESS(String common_alarm_report_ipaddress) {
		COMMON_ALARM_REPORT_IPADDRESS = common_alarm_report_ipaddress;
	}

	public int getCOMMON_HEARTBEAT_ATTEMP_TIMES() {
		return COMMON_HEARTBEAT_ATTEMP_TIMES;
	}

	public void setCOMMON_HEARTBEAT_ATTEMP_TIMES(int common_heartbeat_attemp_times) {
		COMMON_HEARTBEAT_ATTEMP_TIMES = common_heartbeat_attemp_times;
	}

	public int getCOMMON_HEARTBEAT_LIFE() {
		return COMMON_HEARTBEAT_LIFE;
	}

	public void setCOMMON_HEARTBEAT_LIFE(int common_heartbeat_life) {
		COMMON_HEARTBEAT_LIFE = common_heartbeat_life;
	}

	public int getCOMMON_HEARTBEAT_REPORT_INTERVAL() {
		return COMMON_HEARTBEAT_REPORT_INTERVAL;
	}

	public void setCOMMON_HEARTBEAT_REPORT_INTERVAL(int common_heartbeat_report_interval) {
		COMMON_HEARTBEAT_REPORT_INTERVAL = common_heartbeat_report_interval;
	}

	public String getCOMMON_HEARTBEAT_REPORT_IPADDRESS() {
		return COMMON_HEARTBEAT_REPORT_IPADDRESS;
	}

	public void setCOMMON_HEARTBEAT_REPORT_IPADDRESS(String common_heartbeat_report_ipaddress) {
		COMMON_HEARTBEAT_REPORT_IPADDRESS = common_heartbeat_report_ipaddress;
	}

	public int getCOMMON_HEARTBEAT_REPORT_PORT() {
		return COMMON_HEARTBEAT_REPORT_PORT;
	}

	public void setCOMMON_HEARTBEAT_REPORT_PORT(int common_heartbeat_report_port) {
		COMMON_HEARTBEAT_REPORT_PORT = common_heartbeat_report_port;
	}

	public int getCOMMON_VIDEO_STATE_DISPATCH_THREAD_NUM() {
		return COMMON_VIDEO_STATE_DISPATCH_THREAD_NUM;
	}

	public void setCOMMON_VIDEO_STATE_DISPATCH_THREAD_NUM(int common_video_state_dispatch_thread_num) {
		COMMON_VIDEO_STATE_DISPATCH_THREAD_NUM = common_video_state_dispatch_thread_num;
	}

	public int getHIKVISION_ALARM_REPORT_PORT() {
		return HIKVISION_ALARM_REPORT_PORT;
	}

	public void setHIKVISION_ALARM_REPORT_PORT(int hikvision_alarm_report_port) {
		HIKVISION_ALARM_REPORT_PORT = hikvision_alarm_report_port;
	}

	public int getCOMMON_HEARTBEAT_DELAY() {
		return COMMON_HEARTBEAT_DELAY;
	}

	public void setCOMMON_HEARTBEAT_DELAY(int common_heartbeat_delay) {
		COMMON_HEARTBEAT_DELAY = common_heartbeat_delay;
	}

	public int getPU_CONNECTION_TIMEOUT() {
		return PU_CONNECTION_TIMEOUT;
	}

	public void setPU_CONNECTION_TIMEOUT(int pu_connection_timeout) {
		PU_CONNECTION_TIMEOUT = pu_connection_timeout;
	}

	public int getPU_SO_LINGER() {
		return PU_SO_LINGER;
	}

	public void setPU_SO_LINGER(int pu_so_linger) {
		PU_SO_LINGER = pu_so_linger;
	}

	public int getPU_SO_TIMEOUT() {
		return PU_SO_TIMEOUT;
	}

	public void setPU_SO_TIMEOUT(int pu_so_timeout) {
		PU_SO_TIMEOUT = pu_so_timeout;
	}

	public int getVS_REGISTER_INTERVAL_MIN() {
		return VS_REGISTER_INTERVAL_MIN;
	}

	public void setVS_REGISTER_INTERVAL_MIN(int vSREGISTERINTERVALMIN) {
		VS_REGISTER_INTERVAL_MIN = vSREGISTERINTERVALMIN;
	}

	public int getMINA_THREADPOOL_MIN() {
		return MINA_THREADPOOL_MIN;
	}

	public void setMINA_THREADPOOL_MIN(int mINATHREADPOOLMIN) {
		MINA_THREADPOOL_MIN = mINATHREADPOOLMIN;
	}

	public int getMINA_THREADPOOL_MAX() {
		return MINA_THREADPOOL_MAX;
	}

	public void setMINA_THREADPOOL_MAX(int mINATHREADPOOLMAX) {
		MINA_THREADPOOL_MAX = mINATHREADPOOLMAX;
	}

	public int getMINA_THREADPOOL_HOLDTIME() {
		return MINA_THREADPOOL_HOLDTIME;
	}

	public void setMINA_THREADPOOL_HOLDTIME(int mINATHREADPOOLHOLDTIME) {
		MINA_THREADPOOL_HOLDTIME = mINATHREADPOOLHOLDTIME;
	}

	public int getMINA_FREEMEM_PERCENT() {
		return MINA_FREEMEM_PERCENT;
	}

	public void setMINA_FREEMEM_PERCENT(int mINAFREEMEMPERCENT) {
		MINA_FREEMEM_PERCENT = mINAFREEMEMPERCENT;
	}

	public int getMINA_THREADPOOL_WAITQUEUE() {
		return MINA_THREADPOOL_WAITQUEUE;
	}

	public void setMINA_THREADPOOL_WAITQUEUE(int mINATHREADPOOLWAITQUEUE) {
		MINA_THREADPOOL_WAITQUEUE = mINATHREADPOOLWAITQUEUE;
	}

}
